using DapperExtensionsNew;
using Microsoft.Extensions.Configuration;

namespace Microsoft.Extensions.DependencyInjection
{
	public static class DapperExtensions
	{
		public static IDapperBuilder AddDapper(this IServiceCollection services)
		{
			return new DapperBuilder(services, null);
		}

		public static IDapperBuilder AddDapper(this IServiceCollection services, IConfiguration configuration)
		{
			return new DapperBuilder(services, configuration);
		}
	}
}
